package com.capitalbio.smd.gui;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JPanel;
import com.capitalbio.hla.chromatogramViewer.VisualPane;

public class ChromViewPane extends JPanel {
	private static final long serialVersionUID = 1L;
	
	private VisualPane visualPane;
	private JPanel functionPane;
	private JButton exportButton;
	private JButton captureButton;
	
	public ChromViewPane() {
		setLayout(new BorderLayout());
		visualPane = new VisualPane();
		add(visualPane, BorderLayout.CENTER);
		
		//functionPane
		functionPane = new JPanel();
		functionPane.setLayout(new FlowLayout(FlowLayout.LEADING));
		//functionPane.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0));
		
		exportButton = new JButton("Export");
		functionPane.add(exportButton);
		
		captureButton = new JButton("Capture");
		functionPane.add(captureButton);
		
		add(functionPane, BorderLayout.NORTH);
	}

	public VisualPane getVisualPane() {
		return visualPane;
	}
}
